package com.itheima.method;

public class Demo7Method {
    public static void main(String[] args) {
        double num = getMax(500,6.0);
        System.out.println(num);
    }
    public static double getMax(double a,double b){
        return a > b ? a : b;
    }
}
